<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@include file="/pages/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
	<title>广东工业大学招生办-专题页面</title>
	<link rel="stylesheet" type="text/css" href="${ctx }/css/reset.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/common.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/home.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/page.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/project_add.css" />
	<script type="text/javascript" src="${ctx }/js/showTime.js"></script>
	<script type="text/javascript" src="${ctx }/js/jquery.min.js"></script>
	<script language="javascript" >
	$(document).ready(function(){
			$.post("${ctx}/base/special-article!visitorCount.action", "id=${entity.id}" ,function callback(text){
             		$("#visitor").text(text);
             	});
				
	});
</script>
<script type="text/javascript" >
  $(document).ready(function (){
      $(".content-title-list li a").mouseover(function() {
        $(this).parent().siblings().find("a").removeClass("on");     
        $(this).addClass("on"); 
        var cid = $(this).attr("name").substring(1);
        $("#"+cid).siblings().css("display","none");
        $("#"+cid).css("display","block");
        var type = $(this).attr("name");
        $.getJSON("${ctx}/base/school-intr!change.action", {type:type}, function(data) {
				$("#"+data.type).html(data.content);
			});
      });
      $(".content-title-list li a").mouseover(function(){
        return false;
      });
      
     
  });
</script>
</head>
<body>

	<div class="wrapper">
		<jsp:include page="../../../header.jsp" flush="true" /> 

		<!--main-content-->
		<div id="main-content-child-page" class="w960 auto">
			<!--Breadcrumb Trail-->
			<div class="breadcurmb-trail mt5 mb10">
				您的位置：<a href="${ctx }/index.html">网站首页</a>-专题页面</a>
			</div>
			<div class="clearfix_left">
				<div class="content-list_right rel f14 clearfix">					
					<ul class="content-title-list f20">
						<li><a href="${ctx }/base/special-article!artShow.action?spec_id=${spec_id}" name="#choice-1" class="on">${specialName}</a></li>
						<li><a href="${ctx }/base/special-article!attShow.action?spec_id=${spec_id}" name="#choice-2">${attachmentName}</a></li>
						<li><a href="${ctx }/base/special-article!siteShow.action?spec_id=${spec_id}" name="#choice-3">${siteName}</a></li>
					</ul>				
					<div class="content-pic_right rel"></div>
					<div>
						<div id="choice-1">	
							<ul class="content-list1">
							<s:iterator value="page.result">
								<li><a href="${ctx }/base/special-article!input.action?id=${id}&spec_id=${spec_id}" title="${title }" target="_blank">${title}</a></li>
								</s:iterator>
								
								
							</ul>
							<a style="float:right;" href="${ctx }/base/special-article!artShow.action?spec_id=${spec_id}">更多>></a>
						</div>
						<div id="choice-2" style="display: none">	
							<ul class="content-list1">
							<s:iterator value="attachmentPage.result">
								<li><a href="${ctx }/upload/${url}" title="${title }" target="_blank">${title}</a></li>
								</s:iterator> 
							</ul>
							<a style="float:right;" href="${ctx }/base/special-article!attShow.action?spec_id=${spec_id}">更多>></a>
						</div>
						<div id="choice-3" style="display: none">	
							<ul class="content-list1">
								<s:iterator value="sitePage.result">
								<li><a href="${url }" title="${title}" target="_blank">${title}</a></li>
								</s:iterator> 
							</ul>
							<a style="float:right;" href="${ctx }/base/special-article!siteShow.action?spec_id=${spec_id}">更多>></a>
						</div>
					</div>
			    </div>
				<div class="content_bg">
				<div class="content-title-all">
				<div class="content-title_add f20 rel l">
					${title}
				</div>
				<div class="content-pic-inout rel"></div>
				<div class="content-left-new"><p>更新时间：${inputTime}&nbsp;&nbsp;编辑：
				<s:if test='inputBy=="penggege"'>
        root
        </s:if><s:else>
        ${inputBy }
        </s:else>
				
				&nbsp;&nbsp;有<span id="visitor" ></span>位读者读过此文</p></div>
				</div>									
				<div class="content-list-left-article ">
					<p>${content}</p>
				</div>
			    </div>
		    </div>
		</div>
		<div class="addBlock"></div>
		<jsp:include page="../../../footer.jsp" flush="true" /> 
	</div>	
	</body>
</html>